import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//导入reset.css
import './assets/css/reset.css'
//引入element-ui--css
import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false

//---按需导入---
//导入按钮
// import {Button} from 'element-ui';
// //使用按钮
// Vue.use(Button)


//---全局导入方式---
import ElementUI from 'element-ui';
Vue.use(ElementUI);


new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')
